package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Configuration;
import tk.mybatis.spring.annotation.MapperScan;

/*
增加@MapperScan注解的时候，导入包为import tk.mybatis.spring.annotation.MapperScan;
不要选择 org.mybaties.spring.annotation.MapperScan
 */

@SpringBootApplication
@Configuration
@MapperScan("com.example.demo.mapper")
public class DemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DemoApplication.class, args);
    }

}
